Package-level declarations

Types

Link copied to clipboard

Exception thrown when model needed for text recognition cannot be downloaded.

Link copied to clipboard
data class OcrConfiguration(val languageTags: List<String>)
Link copied to clipboard
sealed class OcrException : Exception
Link copied to clipboard
data class OcrLanguage

A supported OCR language

Link copied to clipboard

Exception thrown when OCR fails for a specific image file.

Link copied to clipboard
class OcrProcessor(context: Context, configuration: OcrConfiguration, progressListener: OcrProcessor.ProgressListener? = null)

Class that allows running OCR on an image file.

Link copied to clipboard
data class OcrResult(val text: String, val textLayout: TextLayout)